package net.toocruel.iqismart.entity.setting;

import net.toocruel.iqismart.entity.base.BaseEntity;

import javax.persistence.Entity;

/**
 * The type Setting.
 */
@Entity
public class SettingOauth extends BaseEntity {

    private static final long serialVersionUID = 7940786765638278708L;
    private Boolean open = true;
    private String qqKey = "";
    private String qqRedirect = "/auth/qq";
    private String qqSecret = "";
    private String weiboKey = "";
    private String weiboRedirect = "/auth/weibo";
    private String weiboSecret = "";

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public String getQqKey() {
        return qqKey;
    }

    public void setQqKey(String qqKey) {
        this.qqKey = qqKey;
    }

    public String getQqRedirect() {
        return qqRedirect;
    }

    public void setQqRedirect(String qqRedirect) {
        this.qqRedirect = qqRedirect;
    }

    public String getQqSecret() {
        return qqSecret;
    }

    public void setQqSecret(String qqSecret) {
        this.qqSecret = qqSecret;
    }

    public String getWeiboKey() {
        return weiboKey;
    }

    public void setWeiboKey(String weiboKey) {
        this.weiboKey = weiboKey;
    }

    public String getWeiboRedirect() {
        return weiboRedirect;
    }

    public void setWeiboRedirect(String weiboRedirect) {
        this.weiboRedirect = weiboRedirect;
    }

    public String getWeiboSecret() {
        return weiboSecret;
    }

    public void setWeiboSecret(String weiboSecret) {
        this.weiboSecret = weiboSecret;
    }
}